# Contributor: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=fzy
pkgver=1.0
pkgrel=3
pkgdesc="A better fuzzy finder"
url="https://github.com/jhawthorn/$pkgname"
arch="all"
license="MIT"
checkdepends="ruby-minitest"
subpackages="$pkgname-doc"
source="https://github.com/jhawthorn/fzy/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make PREFIX="/usr"
}

check() {
	make check
}

package() {
	make install PREFIX="/usr" DESTDIR="$pkgdir"
}

sha512sums="de5ed1af035260f4ae550c53b08c4ff302c978350784cbfd2981d1691f55d9c0f26b9333c74adea939b3f4578dd47e66ee99112e10afc5497c64011827d19dbc  fzy-1.0.tar.gz"
